package com.seedeer.project.domain.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 美国州信息
 * </p>
 *
 * @author zhangyu
 */
@TableName("provice")
@ApiModel(value = "Provice对象", description = "美国州信息")
public class Provice implements Serializable{

private static final long serialVersionUID=1L;
            @TableId(value = "id", type = IdType.AUTO)
                            private Integer id;

    @ApiModelProperty(value = "国家编号")
    @TableField("country")
                    private String country;

    @ApiModelProperty(value = "州/省二字简码")
    @TableField("state_code")
                    private String stateCode;

    @ApiModelProperty(value = "州/省名字")
    @TableField("state_name")
                    private String stateName;

    @TableField("state_name_cn")
                    private String stateNameCn;

    @TableField("create_time")
                    private LocalDateTime createTime;

    @TableField("update_time")
                    private LocalDateTime updateTime;

    @TableField("delete_flag")
                    private Boolean deleteFlag;


    public Integer getId(){
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCountry(){
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public String getStateCode(){
        return stateCode;
    }

    public void setStateCode(String stateCode) {
        this.stateCode = stateCode;
    }

    public String getStateName(){
        return stateName;
    }

    public void setStateName(String stateName) {
        this.stateName = stateName;
    }

    public String getStateNameCn(){
        return stateNameCn;
    }

    public void setStateNameCn(String stateNameCn) {
        this.stateNameCn = stateNameCn;
    }

    public LocalDateTime getCreateTime(){
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public LocalDateTime getUpdateTime(){
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    public Boolean getDeleteFlag(){
        return deleteFlag;
    }

    public void setDeleteFlag(Boolean deleteFlag) {
        this.deleteFlag = deleteFlag;
    }
    
@Override
public String toString() {
        return "Provice{" +
                "id=" + id +
                ", country=" + country +
                ", stateCode=" + stateCode +
                ", stateName=" + stateName +
                ", stateNameCn=" + stateNameCn +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", deleteFlag=" + deleteFlag +
        "}";
    }
}